package com.t371.spring.dao.impl;

import com.t371.spring.dao.PetDao;
import com.t371.spring.entity.Pet;

public class PetDaoMySQLImpl implements PetDao {
    @Override
    public int add(Pet pet) {
        return 0;
    }

    @Override
    public Pet get(int id) {
        return null;
    }

    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物"+pet.getName()+"插入MySQL数据库");
        return 1;
    }
}
